<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">

<!--
   /******************************************************************************
     Copyright:: 2020- IBM, Inc

    Licensed under the Apache License, Version 2.0 (the "License");
    you may not use this file except in compliance with the License.
    You may obtain a copy of the License at

    http://www.apache.org/licenses/LICENSE-2.0

    Unless required by applicable law or agreed to in writing, software
    distributed under the License is distributed on an "AS IS" BASIS,
    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    See the License for the specific language governing permissions and
    limitations under the License.
  *****************************************************************************/
-->

<html lang="en">

<head>
	<title>RPT Test Suite</title>
</head>

<body>

<a href="#navskip">skip to main content</a>

<h1>Test case: OnFocus-withBlurUsage.html</h1>

<!-- xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx -->

<h2>OnFocus Event blur usage Tests</h2>

<ul>
	<li>Test #1 - No blur usage in OnFocusEvent</li>
</ul>

<form action="..." method="post">
	<fieldset>
		<legend>Legend text: Automobiles</legend>
		<p>Fieldset text: Please select the auto of your choice.</p>

		<label for="cars2">Automobiles </label>
		<select name="autos" id="cars2" title="autos" onfocus="this.blur();return false;">
			<optgroup label="American cars">
				<option value="Ford">Ford</option>
				<option value="GM">GM</option>
				<option value="Chrysler">Chrysler</option>
			</optgroup>

			<optgroup label="European cars">
				<option value="Jaguar">Jaguar</option>
				<option value="Volvo">Volvo</option>
				<option value="Saab">Saab</option>
			</optgroup>
		</select>

		<button type="submit">Submit</button>
	</fieldset>
</form>

<textarea rows="2" cols="50" name="autos" id="cars5" onfocus="this.blur();return false;">		Ford, GM, Chrysler
</textarea>

<img src="../support/nav_home.gif" usemap="#HomeNav_Map" alt="Home Navigation Bar" />

<map name="HomeNav_Map">
	<area id="area1" coords="15,7,94,23" shape="rect" href="this.blur();return false;" alt="Philosophy" />
	<area id="area2" coords="109,7,176,23" shape="rect" href="this.blur();return false;" alt="Portfolio:" />
</map>


<script type="text/javascript">
//<![CDATA[
  if (typeof(OpenAjax) == 'undefined') OpenAjax = {}
  if (typeof(OpenAjax.a11y) == 'undefined') OpenAjax.a11y = {}
  OpenAjax.a11y.ruleCoverage = [
    {
      ruleId: "1064",
      passedXpaths: [
      ],
      failedXpaths: [
        "/html/body/form/fieldset/select",
        "/html/body/textarea"
      ]
    }
  ];
//]]>
</script></body>
</html>
